package cn.keniykey.mc.landterritory.land.api;

import javax.annotation.Nullable;

import org.bukkit.Location;
import org.bukkit.entity.Player;

import cn.keniykey.mc.landterritory.land.LandManager;

public interface ILandManager {
	
	public static ILandManager getILandManager() {
		return LandManager.getLandManager();
	}

	@Nullable
	public Land getHighestPriorityLand(LandPoint point);
	@Nullable
	default Land getHighestPriorityLand(Location loc) {
		return this.getHighestPriorityLand(new LandPoint(loc));
	}
	@Nullable
	public Land getCircleDetectionLand(Player player);
}